package com.xiaomaoguai.robot.model;

import javax.persistence.*;

@Table(name = "ADQM_RESOURCE_TRANSFORMER")
public class AdqmResourceTransformer {
    @Column(name = "RESOURCE_ID")
    private Integer resourceId;

    @Column(name = "URI")
    private String uri;

    @Column(name = "PROTOCOL")
    private Integer protocol;

    /**
     * 流水编目描述，默认值为P：代表入口
     */
    @Column(name = "PHASE")
    private String phase;

    /**
     * @return RESOURCE_ID
     */
    public Integer getResourceId() {
        return resourceId;
    }

    /**
     * @param resourceId
     */
    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    /**
     * @return URI
     */
    public String getUri() {
        return uri;
    }

    /**
     * @param uri
     */
    public void setUri(String uri) {
        this.uri = uri;
    }

    /**
     * @return PROTOCOL
     */
    public Integer getProtocol() {
        return protocol;
    }

    /**
     * @param protocol
     */
    public void setProtocol(Integer protocol) {
        this.protocol = protocol;
    }

    /**
     * 获取流水编目描述，默认值为P：代表入口
     *
     * @return PHASE - 流水编目描述，默认值为P：代表入口
     */
    public String getPhase() {
        return phase;
    }

    /**
     * 设置流水编目描述，默认值为P：代表入口
     *
     * @param phase 流水编目描述，默认值为P：代表入口
     */
    public void setPhase(String phase) {
        this.phase = phase;
    }
}